package com.ruoyi.business.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 飞行计划任务对象 cz_task_flight
 * 
 * @author ruoyi
 * @date 2022-02-08
 */
@ApiModel(description= "飞行计划任务对象")
public class CzTaskFlight extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 飞行计划ID */
    @ApiModelProperty(value ="飞行计划ID")
    private String id;
    
    /** 任务ID */
    @ApiModelProperty(value ="任务ID")
    private String taskId;

    /** 巡航速度 */
    @Excel(name = "巡航速度")
    @ApiModelProperty(value ="巡航速度")
    private String cruiseSpeed;

    /** 起飞时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "起飞时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value ="起飞时间")
    private Date takeOffTime;

    /** 降落时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "降落时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value ="降落时间")
    private Date landTime;

    /** 起飞点地址 */
    @Excel(name = "起飞点地址")
    @ApiModelProperty(value ="起飞点地址")
    private String takeOffAddress;

    /** 起飞点经度 */
    @Excel(name = "起飞点经度")
    @ApiModelProperty(value ="起飞点经度")
    private Long takeOffLon;

    /** 起飞点纬度 */
    @Excel(name = "起飞点纬度")
    @ApiModelProperty(value ="起飞点纬度")
    private String takeOffLat;

    /** 降落点地址 */
    @Excel(name = "降落点地址")
    @ApiModelProperty(value ="降落点地址")
    private String landAddress;

    /** 降落点经度 */
    @Excel(name = "降落点经度")
    @ApiModelProperty(value ="降落点经度")
    private Long landLon;

    /** 降落点纬度 */
    @Excel(name = "降落点纬度")
    @ApiModelProperty(value ="降落点纬度")
    private String landLat;

    /** 航线 */
    @Excel(name = "航线")
    @ApiModelProperty(value ="航线")
    private String routes;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    
    public String getTaskId() {
		return taskId;
	}

	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}

	public void setCruiseSpeed(String cruiseSpeed) 
    {
        this.cruiseSpeed = cruiseSpeed;
    }

    public String getCruiseSpeed() 
    {
        return cruiseSpeed;
    }
    public void setTakeOffTime(Date takeOffTime) 
    {
        this.takeOffTime = takeOffTime;
    }

    public Date getTakeOffTime() 
    {
        return takeOffTime;
    }
    public void setLandTime(Date landTime) 
    {
        this.landTime = landTime;
    }

    public Date getLandTime() 
    {
        return landTime;
    }
    public void setTakeOffAddress(String takeOffAddress) 
    {
        this.takeOffAddress = takeOffAddress;
    }

    public String getTakeOffAddress() 
    {
        return takeOffAddress;
    }
    public void setTakeOffLon(Long takeOffLon) 
    {
        this.takeOffLon = takeOffLon;
    }

    public Long getTakeOffLon() 
    {
        return takeOffLon;
    }
    public void setTakeOffLat(String takeOffLat) 
    {
        this.takeOffLat = takeOffLat;
    }

    public String getTakeOffLat() 
    {
        return takeOffLat;
    }
    public void setLandAddress(String landAddress) 
    {
        this.landAddress = landAddress;
    }

    public String getLandAddress() 
    {
        return landAddress;
    }
    public void setLandLon(Long landLon) 
    {
        this.landLon = landLon;
    }

    public Long getLandLon() 
    {
        return landLon;
    }
    public void setLandLat(String landLat) 
    {
        this.landLat = landLat;
    }

    public String getLandLat() 
    {
        return landLat;
    }
    public void setRoutes(String routes) 
    {
        this.routes = routes;
    }

    public String getRoutes() 
    {
        return routes;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cruiseSpeed", getCruiseSpeed())
            .append("takeOffTime", getTakeOffTime())
            .append("landTime", getLandTime())
            .append("takeOffAddress", getTakeOffAddress())
            .append("takeOffLon", getTakeOffLon())
            .append("takeOffLat", getTakeOffLat())
            .append("landAddress", getLandAddress())
            .append("landLon", getLandLon())
            .append("landLat", getLandLat())
            .append("routes", getRoutes())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
